package net.koodar.forge.business.category.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import net.koodar.forge.mybatis.doman.BaseEntity;

/**
 *  商品分类属性值表
 *
 * @author liyc
 */
@Data
@TableName("oms_category_attribute_value")
@ToString(callSuper = true)
public class CategoryAttributeValue extends BaseEntity<CategoryAttributeValue> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 属性ID
     */
    @TableField("attribute_id")
    private Long attributeId;

    /**
     * 属性值
     */
    @TableField("value")
    private String value;

    /**
     * 排序
     */
    @TableField("sort")
    private Long sort;

}
